//
//  __msgMark.swift
//  eemall
//
//  Created by zhuxietong on 2018/8/28.
//  Copyright © 2018年 zhuxietong. All rights reserved.
//

import Foundation
import soapp


public enum GMsgType:String,EeMsgTypeModule
{
        
    case goods_order = "order"
    case groups_order = "groupsorder"
    case groups = "groups"

    

    case none = ""
    
    
    public var msg:EeMsgType{
        get{
            return EeMsgType(rawValue: rawValue)
        }
    }
    
    
    public static var types:[EeMsgTypeProtocol]{
        let types:[GMsgType] = [.goods_order,.groups_order,groups]
        let typePs = types.map { (type) -> EeMsgTypeProtocol in
            return EeMsgType(rawValue: type.rawValue)
        }
        return typePs
    }
    
    
}



